.box {
    color: red;
    font-size: 10em;
}

.img {
    background: url('./img.jpg');
    width: 200px;
    height: 200px;
    background-size: cover;
    background-position: center;
}